const user = {
  name: "成竹",
  age: 40,
  open: true,
  lesson: [{ title: "Linux" }, { title: "Nodejs" }],
};

user.open = false;
user.lesson.push({ title: "Vue" });

console.log(user.lesson[0].title);
